package com.chenyue.cm.news.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.base.dao.LcBaseMapper;
import org.springframework.beans.factory.annotation.Qualifier;
import com.chenyue.cm.news.dao.NewsInfoMapper;
import com.chenyue.cm.news.domain.NewsInfo;
import com.chenyue.cm.news.service.NewsInfoService;
import org.springframework.stereotype.Service;


/**
*
* @author chenyue-cm
*/
@Service(value = "NewsInfoService")
public class NewsInfoServiceImpl extends BaseServiceImpl<NewsInfo>  implements NewsInfoService {

private final NewsInfoMapper newsInfoMapper;

	public NewsInfoServiceImpl(@Qualifier("newsInfoMapper") NewsInfoMapper newsInfoMapper) {
		this.newsInfoMapper = newsInfoMapper;
	}

	@Override
	@Resource(name = "newsInfoMapper")
	public void setBaseMapper(LcBaseMapper<NewsInfo, Serializable> baseMapper) {
		this.baseMapper = baseMapper;
	}

}
